package com.spzx.cart.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class CartInfo implements Serializable {
   
   private static final long serialVersionUID = 1L;

   private Long userId;

   private Long skuId;

   private BigDecimal cartPrice;

   private BigDecimal skuPrice;

   private Integer skuNum;

   private String thumbImg;

   private String skuName;

   private Integer isChecked;

   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date createTime;
}